using UnityEngine;

public struct DamageDisplayData : IDamageDisplay
{
    public Vector3 Position { get; set; }
    public int Value { get; set; }
    public bool IsCrit { get; set; }
    public int Type { get; set; }

    public DamageDisplayData(Vector3 position, int value, bool isCrit, int type)
    {
        Position = position;
        Value = value;
        IsCrit = isCrit;
        Type = type;
    }
}
public interface IDamageDisplay : ITextureDisplay
{
    public int Value { get; set; }
    public bool IsCrit { get; set; }
}